.PHONY: build clean

build:
	make clean
	mkdir build
	cd build && cmake ..
	cd build && make

clean:
	if [ -d build ]; then cd build && make clean; fi
	rm -fr build
